package com.zhuoyue.system.domain.po;

import com.zhuoyue.common.core.domain.BaseEntity;
import com.zhuoyue.system.domain.dto.GatewayProReqDTO;
import lombok.Data;
import org.springframework.beans.BeanUtils;

/**
 * @author Administrator
 */

@Data
public class TblGatewayPo extends BaseEntity {
    private Integer pageNum;
    private Integer pageSize;

    private String account;
    private String organizationCode;
    private String zigbeeMac;
    private Long deptId;

    public TblGatewayPo dtoToDo(GatewayProReqDTO gatewayProReq) {
        BeanUtils.copyProperties(gatewayProReq, this);
        return this;
    }

}
